SDUMP

Syntax: SDUMP #ch      
    or: SDUMP [width,height,xpos,ypos]
    or: SDUMP [{address | address,width,height,xpos,ypos}]
Location: Gold Card, Trump Card, SDUMP_REXT, ST/QL

The command SDUMP allows you to dump a screen (or part of a screen) to a printer (or a file), using one of the in-built formats - see SDP_SET.

The first variant is the simplest, it will dump the whole of the contents of the specified window #ch to the printer.   

If the second variant is used, SDUMP will dump the whole of the screen defined by widthXheightAxposXypos (using absolute pixel co-ordinates). If no parameters are supplied, SDUMP will dump the whole screen.

The third variant of the command is intended to dump a screen which has been stored under the Pointer Environment's PSAVE function. The address returned by PSAVE should be used as the first parameter of the SDUMP command. If no further parameters are specified, the whole area stored at the specified address will be dumped, otherwise you can specify the area of that buffer to be dumped in much the same way that you can specify an area of the screen to be dumped.

Example:
OPEN #3,scr_448x200a32x16:SDUMP #3:CLOSE #3  

CROSS-REFERENCE:
SDP_SET allows you to alter the printer format.   
SDP_KEY allows you to set up a hotkey to dump the screen.   
SDP_DEV allows you to alter the device where the dump is to be sent.
